// 因为手机端的标准屏是375
$ratio : 375 / 10;

@function pxTorem($px) {
	@return  $px / $ratio + rem;
}

@mixin  flexYcenter {
	display: flex;
	align-items: center;
}

@mixin  flexCenter {
	display: flex;
	justify-content: center;
	align-items: center;
}

@mixin  flexLeft {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

@mixin  flexRight {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

@mixin  flexSpacebetween{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

@mixin overShowSpot {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@mixin overShowSpotNum($line) {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: $line;
	white-space: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
}
